package com.ruoyi.develop.goodsSupplier.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.poi.hpsf.Decimal;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 供应商信息管理对象 goods_supplier
 *
 * @author qh
 * @date 2023-01-06
 */
public class GoodsSupplier extends BaseEntity {
private static final long serialVersionUID=1L;

    /**  */
    private String id;

    /** 供应商名称(开票名称) */
    @Excel(name = "供应商名称(开票名称)")
    private String name;

    /** 税号 */
    @Excel(name = "税号")
    private String taxNo;

    /** 地址 */
    @Excel(name = "地址")
    private String addr;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contactMan;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactNo;

    /** 办公电话 */
    @Excel(name = "办公电话")
    private String officePhone;

    /** 开户行 */
    @Excel(name = "开户行")
    private String bankName;

    /** 银行行号 */
    @Excel(name = "银行行号")
    private String bankNo;

    /** 银行账号 */
    @Excel(name = "银行账号")
    private String accountNo;

    /** 产品种类 */
    @Excel(name = "产品种类")
    private String goodsInfo;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String info;

    /** 供应商状态（0正常 1停用） */
    @Excel(name = "供应商状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    private String code;
    private String area;
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date fazhanDate;
    private String suoshuman;
    private String deptName;
    private String deptId;
    private String industry;
    private String simpleName;

    private String idx;
    private String fzDateStr;

    private String file;
    /** 收支平衡金额 */
    @Excel(name = "收支平衡金额")
    private BigDecimal balanceMoney;

    public String getFile() {
        return file;
    }

    public void setFile(String file) {
        this.file = file;
    }

    public BigDecimal getBalanceMoney() {
        return balanceMoney;
    }

    public void setBalanceMoney(BigDecimal balanceMoney) {
        this.balanceMoney = balanceMoney;
    }

    public String getAccountNo() {
        return accountNo;
    }

    public void setAccountNo(String accountNo) {
        this.accountNo = accountNo;
    }

    public String getFzDateStr() {
        return fzDateStr;
    }

    public void setFzDateStr(String fzDateStr) {
        this.fzDateStr = fzDateStr;
    }

    public String getIdx() {
        return idx;
    }

    public void setIdx(String idx) {
        this.idx = idx;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public Date getFazhanDate() {
        return fazhanDate;
    }

    public void setFazhanDate(Date fazhanDate) {
        this.fazhanDate = fazhanDate;
    }

    public String getSuoshuman() {
        return suoshuman;
    }

    public void setSuoshuman(String suoshuman) {
        this.suoshuman = suoshuman;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getIndustry() {
        return industry;
    }

    public void setIndustry(String industry) {
        this.industry = industry;
    }

    public String getSimpleName() {
        return simpleName;
    }

    public void setSimpleName(String simpleName) {
        this.simpleName = simpleName;
    }

    public void setId(String id)
            {
            this.id = id;
            }

    public String getId()
            {
            return id;
            }
    public void setName(String name)
            {
            this.name = name;
            }

    public String getName()
            {
            return name;
            }
    public void setTaxNo(String taxNo)
            {
            this.taxNo = taxNo;
            }

    public String getTaxNo()
            {
            return taxNo;
            }
    public void setAddr(String addr)
            {
            this.addr = addr;
            }

    public String getAddr()
            {
            return addr;
            }
    public void setContactMan(String contactMan)
            {
            this.contactMan = contactMan;
            }

    public String getContactMan()
            {
            return contactMan;
            }
    public void setContactNo(String contactNo)
            {
            this.contactNo = contactNo;
            }

    public String getContactNo()
            {
            return contactNo;
            }
    public void setOfficePhone(String officePhone)
            {
            this.officePhone = officePhone;
            }

    public String getOfficePhone()
            {
            return officePhone;
            }
    public void setBankName(String bankName)
            {
            this.bankName = bankName;
            }

    public String getBankName()
            {
            return bankName;
            }
    public void setBankNo(String bankNo)
            {
            this.bankNo = bankNo;
            }

    public String getBankNo()
            {
            return bankNo;
            }
    public void setGoodsInfo(String goodsInfo)
            {
            this.goodsInfo = goodsInfo;
            }

    public String getGoodsInfo()
            {
            return goodsInfo;
            }
    public void setInfo(String info)
            {
            this.info = info;
            }

    public String getInfo()
            {
            return info;
            }
    public void setStatus(String status)
            {
            this.status = status;
            }

    public String getStatus()
            {
            return status;
            }
    public void setDelFlag(String delFlag)
            {
            this.delFlag = delFlag;
            }

    public String getDelFlag()
            {
            return delFlag;
            }

    @Override
    public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id",getId())
            .append("name",getName())
            .append("taxNo",getTaxNo())
            .append("addr",getAddr())
            .append("contactMan",getContactMan())
            .append("contactNo",getContactNo())
            .append("officePhone",getOfficePhone())
            .append("bankName",getBankName())
            .append("bankNo",getBankNo())
            .append("goodsInfo",getGoodsInfo())
            .append("info",getInfo())
            .append("status",getStatus())
            .append("delFlag",getDelFlag())
            .append("createBy",getCreateBy())
            .append("createTime",getCreateTime())
            .append("updateBy",getUpdateBy())
            .append("updateTime",getUpdateTime())
            .append("remark",getRemark())
        .toString();
    }
}
